<?php
/* 
    Project     : 48c6c450f1a4a0cc53d9585dc0fee742
    Created on  : Mar 16, 2013, 11:29:15 PM
    Author      : Truong Khuong - khuongxuantruong@gmail.com
    Description :
        Purpose of the stylesheet follows.
*/
class customer_model extends backend_model {

    function __construct()
    {
        parent::__construct('customer','cust');
    }
    function getCustomerByEmail($e=''){
        $q=$this->db
                ->where('cust_email',$e)
                ->get($this->table);
        return $q->row();
    }
}
?>
